<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>支付结果</title>
<div th:replace="common/fragment::meta"></div>
<link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/1.1.3/weui.min.css">
</head>
<body>
	<div class="weui-msg">
		<div class="weui-msg__icon-area">
			<i class="weui-icon-success weui-icon_msg"></i>
		</div>
		<div class="weui-msg__text-area">
			<h2 class="weui-msg__title">支付成功</h2>
			<p class="weui-msg__title" th:text="${paytime}" style="color: green"></p>
			<p class="weui-msg__desc">
				您可以在15分钟内出场，超时后将重新计费
			</p>
		</div>
		<div class="weui-msg__opr-area">
			<p class="weui-btn-area">
				<!--  <a  href="javascript: AlipayJSBridge.call('closeWebview');" class="weui-btn weui-btn_primary">关闭页面</a> -->
				 <a  id="closeOne" href="javascript:close()" class="weui-btn weui-btn_primary">关闭</a>

			</p>
		</div>
		<div th:replace="common/fragment::brand"></div>
	</div>
</body>
<script type="text/javascript">
 	function close(){
	 	if (/MicroMessenger/.test(window.navigator.userAgent)) { 
		    WeixinJSBridge.call('closeWindow');
		} else if (/AlipayClient/.test(window.navigator.userAgent)) { 
		    AlipayJSBridge.call('closeWebview');
		} else {
		   // alert('其他浏览器');
		} 
	}
</script>
</html>